package com.ruoyi.shop.popularize.rules.service;

import java.util.List;
import com.ruoyi.mall.common.domain.DtsGrouponRules;

/**
 * 团购规则Service接口
 * 
 * @author ruoyi
 * @date 2025-02-19
 */
public interface IDtsGrouponRulesService 
{
    /**
     * 查询团购规则
     * 
     * @param id 团购规则主键
     * @return 团购规则
     */
    public DtsGrouponRules selectDtsGrouponRulesById(Long id);

    /**
     * 查询团购规则列表
     * 
     * @param dtsGrouponRules 团购规则
     * @return 团购规则集合
     */
    public List<DtsGrouponRules> selectDtsGrouponRulesList(DtsGrouponRules dtsGrouponRules);

    /**
     * 新增团购规则
     * 
     * @param dtsGrouponRules 团购规则
     * @return 结果
     */
    public int insertDtsGrouponRules(DtsGrouponRules dtsGrouponRules);

    /**
     * 修改团购规则
     * 
     * @param dtsGrouponRules 团购规则
     * @return 结果
     */
    public int updateDtsGrouponRules(DtsGrouponRules dtsGrouponRules);

    /**
     * 批量删除团购规则
     * 
     * @param ids 需要删除的团购规则主键集合
     * @return 结果
     */
    public int deleteDtsGrouponRulesByIds(Long[] ids);

    /**
     * 删除团购规则信息
     * 
     * @param id 团购规则主键
     * @return 结果
     */
    public int deleteDtsGrouponRulesById(Long id);
}
